#include <stdio.h>

int main() {
    int array[] = {1, 2, 3, 4, 5};
    int length = sizeof(array) / sizeof(array[0]);

    printf("数组长度为: %d\n", length);
    printf("数组总大小为: %d\n", sizeof(array));
    printf("数组每个元素大小为: %d\n", sizeof(array[0]));

    return 0;
}